package com.mini.repository;

import com.mini.model.BusinessItemInfo;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author shixiaopeng  on 2020/9/11
 */
@Repository
public interface BusinessItemInfoRepository extends JpaRepository<BusinessItemInfo, Long>, JpaSpecificationExecutor<BusinessItemInfo> {

    List<BusinessItemInfo> findAllByItemState(Integer itemState);
}
